// 基于template/src/widgets/{{appEntities}}/{{ctrls@PANEL}}-panel/{{spinalCase ctrl.codeName}}-panel-model.ts.hbs生成
import { IPanelModel } from '@/core';
function getModel(): IPanelModel {
    return {
        cssName: "",             
        caption: '',
        controlType: 'PANEL',
        codeName: 'TIMELINEITEMLAYOUTPANEL',
        entityCodeName: 'IBIZBOOK',
        name: 'itemlayoutpanel',
        noSort: '',
        sortDir: '',
        limit: 1000, 
        dataMode: 0,
        layoutMode: "TABLE_24COL",
        rootLayoutDetailNames: ["container1"],
        layoutItems: getLayoutItems(),   
    }
}

function getLayoutItems() {
    return {
        container1: {
            name: "container1",
            type: "ITEMLAYOUT",
            caption: "",
            titleBarCloseMode: 0,
            isShowCaption: false,
            sysCss: "",
            itemType: "CONTAINER",    
            codeName: "",
            itemStyle: "DEFAULT",
            dynaClass: "",
            labelDynaClass: "",
            labelCssStyle: "",
            visible: true,
            disabled: false,
            layout: "TABLE_24COL",
            layoutPos: "",
            layoutHeight: 0,
            layoutWidth: 0,
            heightMode: "",
            widthMode: "",
            spacingBottom: "",
            spacingLeft: "",
            spacingRight: "",
            spacingTop: "",
            hAlignSelf: "",
            vAlignSelf: "",
            userTag:'',
            userTag2:'',
            flexGrow: 0,
            flexParams: {
                align: "",
                dir: "",
                vAlign: "",
            },
            details: [],
            dataRegionType: "INHERIT",
            dataSourceType: "",
        },
        
    }
}

export const model = getModel();